package com.sumainfor.pc.market.controller.servicemanger;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.common.utlis.PageUtils;
import com.sumainfor.common.utlis.Pager;
import com.sumainfor.pc.market.service.SePactService;
import com.sumainfor.pc.market.service.SeWorderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * 服务中心经理审核房源合同
 */
@RestController
@RequestMapping("/servicemanger/SeWorder")
public class SeWorderController implements Serializable {
    @Autowired
    private SeWorderService seWorderService;
    /**
     *查询租赁顾问的列表
     * @param
     * @return
     */
    @GetMapping("/getSeWorderList")
    public JsonResult getSeWorderList(@RequestParam Map<String,Object>params, Pager pager){
        return seWorderService.getSeWorderList(params);
    }
    /**
     *查询租赁顾问管理的成绩列表
     * @param
     * @return
     */
    @GetMapping("/getSeWorTenList")
    public JsonResult getSeWorTenList(@RequestParam Map<String,Object>params){
        return seWorderService.getSeWorTenList(params);
    }
    /**
     *查询租赁顾问管理的成绩列表
     * @param
     * @return
     */
    @GetMapping("/getSeWorTraList")
    public JsonResult getSeWorTraList(@RequestParam Map<String,Object>params){
        return seWorderService.getSeWorTraList(params);
    }
    /**
     * 查询服务中心下的工单列表数据统计
     * @param
     * @return
     */
    @GetMapping("/getSeWorderMidList")
    public JsonResult getSeWorderMidList(@RequestParam Map<String,Object>params){
        return seWorderService.getSeWorderMidList(params);
    }

}
